-
Notifications
You must be signed in to change notification settings - Fork 364
Ark-ff Small Field Support #1044
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Hm I would like to review this PR, but the current scope is quite massive. Is it possible to break it up into smaller PRs? E.g., first adding the backend, then adding the macros, then adding impls, or something similar? |
No problem. We'll try to cut it up into a few chunks for reviewing. |
Hello, I added the following temporary PRs:
The CI fails in the last two PRs because we are missing the arithmetic implementation or the trait definition. When all of the changes are combined, the CI (including extended tests) passes successfully. |
|
@Pratyush we're also happy to meet and explain the logical flow when/ if helpful. Same for @weikengchen @mmaker (or any maintainers) if interested in reviewing just let us know. |
Description
This PR adds
SmallFp, a procedural macro for instantiating prime fields with modulus< 2^127using native integer types (u8,u16,u32,u64,u128).ff/src/fields/models/small_fp.< 2^127.Closes: #1038
This work was done in collaboration with @z-tech